<?php

/**
 * Новость мультиязычная 
 *
 * @package    sf_sandbox
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfPropelFormTemplate.php 10377 2008-07-21 07:10:32Z dwhittle $
 */
class adminPageForm extends BaseMaterialForm
{
  public function configure()
  {
  	
  			unset( 
  		$this['created_at'],  
  		$this['updated_at'],  
  		$this['user_id'], 
  		$this['click'], 
  		$this['country'],
  		$this['custom_int3'],
  		$this['custom_text1'],
  		$this['custom_text2'],
  		$this['custom_text3'],
  		$this['custom_char2'],
  		$this['custom_char3'],
                $this['mat2_folder_list'],
  		$this['seo_title'],
  		$this['seo_keyword'],
  		$this['stat'],
  		$this['folder2tag_list'],
                $this['mat2tag_list'],
                $this['parent_id'],
  		$this['link']);
  		
   		
  		
  		$this->setWidgets(array(
      'id'               => new sfWidgetFormInputHidden(array(),array('size'=>'60')),
      'type_id'           => new sfWidgetFormInputHidden(array(), array('value' =>'3', 'class'=>'test'))
  	 
  	 
  	 
    ));

   
    
    /*
     *'content' => new sfWidgetFormTextareaTinyMCE(array(),array('class'=>'material_content','width'=>'600px')),
     *  
     */
  	
  		

		
           
       
        $this->validatorSchema->setOption('allow_extra_fields', true);    
  		 
  		$this->widgetSchema->setNameFormat('material[%s]');
  		 
        $this->embedI18n(array('en'));
            
        
            
            
  
  }
  
  
  
  	
 
  

   
}
